package com.example.springboot.mapper;


import com.example.springboot.pojo.WorkOrder;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;
@Component
@Mapper
public interface WorkOrderDao {
    void addWorkOrder(WorkOrder workOrder);
    WorkOrder queryById(int id);
    void deleteById(int id);
    List<WorkOrder> getWorkOrderList();
    void updateById(WorkOrder workOrder);
    List<WorkOrder> getWorkOrderListByCondition(Map<String,String> map);
}
